package main

import "golang.org/x/tour/pic"

func Pic(dx, dy int) [][]uint8 {
	res := make([][]uint8,dy)
	for i := 0;i<dy;i++{
		for j := 0;j < dx;j++{
			res[i] = append(res[i],(uint8)(i*j))
		}
	}
	return res
}

func main() {
	pic.Show(Pic)
}